﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleExpression
{
    public class AttributeExpression : Expression
    {
        PropertyMetadata propertyMetadata;

        //XML Required
        public AttributeExpression()
        { 
        
        }

        public AttributeExpression(PropertyMetadata propertyMetadata)
        {
            this.propertyMetadata = propertyMetadata;
        }

        public PropertyMetadata PropertyMetadata 
        {
            get { return this.propertyMetadata; }
            set { this.propertyMetadata = value; }
        }

        #region Expression

        public override void Accept(ExpressionVisitor visitor)
        {
            visitor.Visit(this);
        }

        #endregion
    }
}
